/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.app.service;

/**
 *
 * @author LamLe
 */
public abstract class SearchService {

    private String searchKeyword;
    
    public void startSearch(){
        if(needModifySearchKeyword()){
            searchKeyword = getModifiedSearchKeyword();
        }
        
        //@TODO: modify searchMovie result to append into GUI. should not directly interact with GUI.
    }
    
    public abstract String getModifiedSearchKeyword();
    
    public abstract void searchMovie(String movieName) throws Exception;
    
    public abstract boolean needAuthentification();
    
    public abstract boolean needModifySearchKeyword();
}
